<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文章父类别添加</title>
    <script type="text/javascript" src="/static/js/jquery.js"></script>
    <script type="text/javascript" src="/static/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/static/js/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/MyAjaxForm.js"></script>
    <script src="/static/js/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>
    <link href="/static/css/themes/default/easyui.css" rel="stylesheet"/>
    <link href="/static/css/themes/icon.css" rel="stylesheet"/>
</head>
<body>
<form  data-ajax="true" data-ajax-method="post" data-ajax-success="afterAdd" data-ajax-url="/Admin/ArticleClass/AddParentClass" id="addForm">
    <table>
        <tr><td>类别名称</td><td><input type="text" name="className"></td></tr>
        <tr><td>备注</td><td><input type="text" name="Remark" /></td></tr>
    </table>
</form>
</body>
<script type="text/javascript">
    function subForm() {
        $("#addForm").submit();
    }
    function afterAdd(data) {
        window.parent.afterParentAdd(data)
    }
</script>
</html>